package com.liuxvru.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liuxvru.project.domain.Test;
import com.liuxvru.project.vo.TestAllInitVo;

import java.util.List;

/**
 * 测试Service接口
 *
 * @author liuxvru
 * @date 2024-11-22
 */
public interface ITestService extends IService<Test> {

    /**
     * 查询测试列表
     *
     * @param test 测试
     * @return 测试集合
     */
    public List<Test> selectTestList(Test test);

    int add(Long testPlanId, Test test);

    int edit(Test test);

    int editTestAndTestStepVo(TestAllInitVo testAllInitVo);

    int delTests(List<Long> testIds);

    TestAllInitVo init(Long testId);
}
